forum

home / developersection / forums / in wpf how to give the interopbitmap drawing font

In WPF how to give the InteropBitmap drawing font

Manoj Bhatt 2869 23-Sep-2013

ex winform

Graphics g = Graphics.FromImage(newimg);

String str = "hello world";

Font font = new Font("Arial", 30);

SolidBrush sbrush = new SolidBrush(Color.Black);

g.DrawString(str, font, sbrush, new PointF(100, 120));

In the WPF on how the InteropBitmap to do the same thing?


wpf wpf 
Updated on 23-Sep-2013
Manoj Bhatt

Other


Message
Can you answer this question?

Answer

1 Answers

Liked By